package top.chmin.project.cloud.sys.index.column.info;

import java.util.List;
import top.chmin.project.cloud.common.Page;
import org.springframework.web.bind.annotation.RestController;
import jakarta.annotation.Resource;



/**
 * chmin
 * 2024-01-26 13:56:02
 * cloud-code
 */
@RestController
public class IndexColumnInfoController implements
/* append $controllerSelectOptionRestAppender$ */
        IndexColumnInfoSaveRest,
        IndexColumnInfoSelectRest,
        IndexColumnInfoUpdateRest,
        IndexColumnInfoDeleteRest,
        IndexColumnInfoPageRest {

    @Resource
    private IndexColumnInfoService indexColumnInfoService;

    @Override
    public int save(IndexColumnInfoSaveRest.P p) {
        return indexColumnInfoService.save(p);
    }

    @Override
    public IndexColumnInfoSelectRest.R select(IndexColumnInfoSelectRest.P p) {
        return indexColumnInfoService.select(p);
    }

    @Override
    public int update(IndexColumnInfoUpdateRest.P p) {
        return indexColumnInfoService.update(p);
    }

    @Override
    public int delete(IndexColumnInfoDeleteRest.P p) {
        return indexColumnInfoService.delete(p);
    }

    @Override
    public Page<IndexColumnInfoPageRest.R> page(IndexColumnInfoPageRest.P p) {
        return indexColumnInfoService.page(p);
    }
    /* append $controllerSelectOptionMethodAppender$ */
}
